package com.ruoyi.system.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;



/**
 * 账单视图对象 p_user_bill
 *
 * @author ruoyi
 * @date 2022-07-26
 */
@Data
@ApiModel("账单视图对象")
@ExcelIgnoreUnannotated
public class PUserBillVo {

    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @ExcelProperty(value = "")
    @ApiModelProperty("")
    private Long id;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    @ApiModelProperty("用户id")
    private Long userId;

    /**
     * 账单标题
     */
    @ExcelProperty(value = "账单标题")
    @ApiModelProperty("账单标题")
    private String title;

    /**
     * 账单种类 0 推广提现
     */
    @ExcelProperty(value = "账单种类 0 推广提现", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "bill_level_type")
    @ApiModelProperty("账单种类 0 推广提现")
    private String category;

    /**
     * 支付类型 0 余额 1 微信
     */
    @ExcelProperty(value = "支付类型 0 余额 1 微信", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "pay_type")
    @ApiModelProperty("支付类型 0 余额 1 微信")
    private String payType;

    /**
     * 明细类型 0 支出 1 收入
     */
    @ExcelProperty(value = "明细类型 0 支出 1 收入", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "bill_type")
    @ApiModelProperty("明细类型 0 支出 1 收入")
    private String type;

    /**
     * 明细金额
     */
    @ExcelProperty(value = "明细金额")
    @ApiModelProperty("明细金额")
    private BigDecimal number;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    @ApiModelProperty("备注")
    private String remark;


}
